<template>
  <div>
    曾根美雪<br />
    <button @click="$emit('click', '自定义事件')">分发自定义click事件</button>
    <button @click="$emit('xxx', '自定义事件xxx')">分发自定义xxxx事件</button>
  </div>
</template>

<script>
export default {
  name: "Event2",
};
</script>

<style lang="less" scoped>
div {
  height: 80px;
  background-color: pink;
}
</style>